package com.damuzee.core.manager;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import javax.mail.MessagingException;

import freemarker.template.TemplateException;

public interface SenderManager {

	// 发送模板邮件
	public boolean sendTemplateMail(List<String> toAddresss, Map map,
			String ftlPath) throws MessagingException, IOException,
			TemplateException;

	public boolean sendTemplateMail(String email, Map map, String ftlPath)
			throws MessagingException, IOException, TemplateException;
}